package com.coment.pojo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Generated;

@JsonIgnoreProperties(
   ignoreUnknown = true
)
public class ClientResponse {
   private String resType;
   private long scored;
   private String roomId;
   private Object camp;
   private String message;

   
   public String getResType() {
      return this.resType;
   }

   
   public long getScored() {
      return this.scored;
   }

   
   public String getRoomId() {
      return this.roomId;
   }

   
   public Object getCamp() {
      return this.camp;
   }

   
   public String getMessage() {
      return this.message;
   }

   
   public void setResType(final String resType) {
      this.resType = resType;
   }

   
   public void setScored(final long scored) {
      this.scored = scored;
   }

   
   public void setRoomId(final String roomId) {
      this.roomId = roomId;
   }

   
   public void setCamp(final Object camp) {
      this.camp = camp;
   }

   
   public void setMessage(final String message) {
      this.message = message;
   }

   
   public boolean equals(final Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof ClientResponse other)) {
         return false;
      } else {
          if (!other.canEqual(this)) {
            return false;
         } else if (this.getScored() != other.getScored()) {
            return false;
         } else {
            Object this$resType = this.getResType();
            Object other$resType = other.getResType();
            if (this$resType == null) {
               if (other$resType != null) {
                  return false;
               }
            } else if (!this$resType.equals(other$resType)) {
               return false;
            }

            Object this$roomId = this.getRoomId();
            Object other$roomId = other.getRoomId();
            if (this$roomId == null) {
               if (other$roomId != null) {
                  return false;
               }
            } else if (!this$roomId.equals(other$roomId)) {
               return false;
            }

            Object this$camp = this.getCamp();
            Object other$camp = other.getCamp();
            if (this$camp == null) {
               if (other$camp != null) {
                  return false;
               }
            } else if (!this$camp.equals(other$camp)) {
               return false;
            }

            Object this$message = this.getMessage();
            Object other$message = other.getMessage();
            if (this$message == null) {
                return other$message == null;
            } else return this$message.equals(other$message);
         }
      }
   }

   
   protected boolean canEqual(final Object other) {
      return other instanceof ClientResponse;
   }

   
   public int hashCode() {
      int PRIME = 59;
      int result = 1;
      long $scored = this.getScored();
      result = result * 59 + (int)($scored >>> 32 ^ $scored);
      Object $resType = this.getResType();
      result = result * 59 + ($resType == null ? 43 : $resType.hashCode());
      Object $roomId = this.getRoomId();
      result = result * 59 + ($roomId == null ? 43 : $roomId.hashCode());
      Object $camp = this.getCamp();
      result = result * 59 + ($camp == null ? 43 : $camp.hashCode());
      Object $message = this.getMessage();
      result = result * 59 + ($message == null ? 43 : $message.hashCode());
      return result;
   }

   
   public String toString() {
      String var10000 = this.getResType();
      return "ClientResponse(resType=" + var10000 + ", scored=" + this.getScored() + ", roomId=" + this.getRoomId() + ", camp=" + this.getCamp() + ", buffInfo=" + this.getMessage() + ")";
   }
}
